Use PEGetJobStatus to determine the status of a print job. You can use this function in a number of programming situations, for example:
short CRPE_API PEGetJobStatus (
short printJob,
PEJobInfo FAR *jobInfo );
Specifies the print job for which you want to determine printing status. | |
Specifies a pointer to PEJobInfo, which will contain the information this function retrieves. |
Function PEGetJobStatus(ByVal job As Integer, info As PEJobInfo) As Integer ' To work around the problem of 4 - byte alignment the PEGetJobStatus
' call has been re-d eclared here. When your application calls PEGetJobStatus
' it is calling this function which in turn calls CRPE32.DLL.
function PEGetJobStatus (
printJob: Word;
var jobInfo: PEJobInfo
): smallint stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |